<template>
  <div class>
    <div
      v-if="showInfo"
      class="cesiumdialog"
      :style="{
        left: winPos[0] - getscalepxcnum(0) + 'px',
        bottom: winPos[3] + 'px',
      }"
    > 
      <div class="contain1"></div>
      <div class="contain">
        <!-- 关闭图标 -->
        <i
          class="el-icon-close"
          :style="{
            position: 'absolute',
            right: getscalepxc(16),
            top: getscalepxc(16),
            fontSize: getscalepxc(22),
            pointerEvents: 'auto',
            cursor: 'pointer',
          }"
          @click="closecard()"
        ></i>
        <div class="textContain">
          <div class="jinrongimgcontent">
            <div>货物名称：钢筋</div>
            <div>货物数量：300吨</div>
          </div>
        </div>
      </div>
      <!-- <div class="smallcircle"></div>
      <div class="bigcircle"></div> -->
    </div>
  </div>
</template>
<script>
import uuidv1 from "uuid/v1";
import * as echarts from "echarts/dist/echarts";
import commonmixins from "@/mixins/bigScreen/commonmixins";

import basecard from "../base.vue";
import axios from "@/utils/requestdp";

export default {
  name: "chedia",
  extends: basecard,
  mixins: [commonmixins],
  components: {},
  data() {
    return {
      name: "XXXXXX项目",
      liuliang: "-",
      yali: "-",
      wendu: "-",
      warnmsg: "-",
    };
  },
  computed: {},
  watch: {},
  mounted() {
    this.instance.show = false;
    this.instance.scale = 0.3;
    // this.instance.imageUrl = "/configuration/ziyuan/gaojing.png";

  },
  methods: {
  },
};
</script>
<style lang='scss' scoped>
.cesiumdialog {
  pointer-events: none;
  position: absolute;
  // width: 500px;
  // height: 400px;
  // color: #aed2e2;
  // background-image: url("/configuration/beijing/dialog.png");
  // background-size: 100% 100%;
  // background-color: #fff0;
  // padding: 5px;
  // border-radius: 5px;
  // pointer-events: none;
  // cursor: pointer;
  // font-size: 18px;
  // font-size: 18px;
}
.contain {
  position: absolute;
  height: 120px;
  width: 200px;
  left: -100px;
  top: -120px;
  color: white;
  background-size: 100% 100%;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
  background-image: url("/configuration/ziyuan/dia2.png");
  // background-color: #5555;
}
.contain1 {
  position: absolute;
  height: 110px;
  width: 200px;
  left: -100px;
  top: -120px;
  color: white;
  background-size: 100% 100%;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
  // background-image: url("/configuration/ziyuan/dia1.png");
  background-color: #5555;
}
.textContain {
  display: flex;
  padding: 30px 0px 0px 0px;
}
.jinrongimg{
  background-size: 100% 100%;
  width: 150px;
  height:150px;
  margin: 10px 10px 0px 10px;
  background-image: url("/configuration/ziyuan/jinrongimg.png");

}
.jinrongimgcontent{

  margin: 0px 0px 0px 20px;
}

.textItem {
  display: block;
  font-size: 14px;
  color: #ffffff;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50%,
  75% {
    transform: scale(3);
  }
  78%,
  100% {
    opacity: 0;
  }
}
@keyframes scales {
  0% {
    transform: scale(1);
  }
  50%,
  75% {
    transform: scale(2);
  }
  78%,
  100% {
    opacity: 0;
  }
}
.smallcircle {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #f12711;
  opacity: 0.8;
  border-radius: 50%;
  top: -4px;
  left: -6px;
}
.smallcircle:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.4;
  background-color: #f12711;
  opacity: 0.8;
  animation: scale 1s infinite cubic-bezier(0, 0, 0.49, 1.02);
}
.bigcircle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.4;
  background-color: #f12711;
  opacity: 0.8;
  animation: scales 1s infinite cubic-bezier(0, 0, 0.49, 1.02);
  top: -4px;
  left: -6px;
}
</style>